<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Calculate GCD</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.gmp-lcm" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">gmp_lcm</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.3.0)</p><p class="refpurpose"><span class="refname">gmp_lcm</span> &mdash; <span class="dc-title">Calculate GCD</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.gmp-lcm-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>gmp_lcm</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$a</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$b</code></span>
   ) : <span class="type"><a href="class.gmp.html" class="type GMP">GMP</a></span></div>

  <p class="para rdfs-comment">
   This function computes the least common multiple (lcm) of
   <code class="parameter">a</code> and <code class="parameter">b</code>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.gmp-lcm-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<code class="parameter">a</code></dt>

    <dd>

     <p class="para">可以是一个 GMP
数据 <span class="type"><span class="type resouce">resouce</span></span>，或一个可以转换为数值的字符串。</p>
    </dd>

   
   
    <dt>
<code class="parameter">b</code></dt>

    <dd>

     <p class="para">可以是一个 GMP
数据 <span class="type"><span class="type resouce">resouce</span></span>，或一个可以转换为数值的字符串。</p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.gmp-lcm-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   GMP 数值<span class="type"><span class="type 资源">资源</span></span>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.gmp-lcm-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="function"><a href="gmp_gcd.html" class="function" rel="rdfs-seeAlso">gmp_gcd()</a> - Calculate GCD</span></li>
  </ul>
 </div>


</div></div></div></body></html>